package com.yoyo.itravel.bean;

import java.io.Serializable;

/**
 * @Description 城市实体类
 * 
 * @author HZX
 * @date 2020年4月25日 下午1:01:46
 */
public class City implements Serializable {

	private String cityId; // 城市id
	private String cityName; // 城市名称
	private String provinceId; // 城市所属省份id
	private Province province; // 省份对象

	public City() {
		super();
	}

	public City(String cityId, String cityName, String provinceId, Province province) {
		this.cityId = cityId;
		this.cityName = cityName;
		this.provinceId = provinceId;
		this.province = province;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public Province getProvince() {
		return province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	@Override
	public String toString() {
		return "City{" +
				"cityId='" + cityId + '\'' +
				", cityName='" + cityName + '\'' +
				", provinceId='" + provinceId + '\'' +
				", province=" + province +
				'}';
	}
}
